﻿using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Users.Form
{
    public class UserCashForm
    {
        /// <summary>
        /// 银行卡姓名
        /// </summary>
        [Required]
        public string CardName { get; set; }
        /// <summary>
        /// 银行卡号
        /// </summary>
        [Required]
        public string CardNumber { get; set; }
        /// <summary>
        /// 银行名称
        /// </summary>
        public string BankName { get; set; }
        /// <summary>
        /// 银行编码
        /// </summary>
        [Required]
        public string BankCode { get; set; }
        /// <summary>
        /// 提现金额
        /// </summary>
        [Required]
        public decimal Amount { get; set; }
        /// <summary>
        /// 提现类型
        /// </summary>
        [Required]
        public CashType CashType { get; set; }
    }
}
